<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2018/4/17
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <style type="text/css">
        #error,#notLogin{
            color: red;
        }
    </style>

</head>
<body>
<h1>登录界面</h1>

<form method="post" action="loginHandler.jsp">
   用户名： <input type="text" name="username" value="${user.username}"/><br/>
    密码：<input type="text" name="password" value="${user.password}"/><br/>
    <input type="submit" value="登录"/>
    <button><a href="register.jsp">注册</a></button>
    <P id="error">${error}</P>
    <P id="notLogin">${notLogin}</P>
</form>
</body>
</html>
